package com.oceanread.cn.service.impl;

import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.oceanread.cn.entity.Postsql;
import com.oceanread.cn.mapper.PostsqlMapper;
import com.oceanread.cn.service.IPostsqlService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author konglingxuan
 * @since 2021-11-01
 */
@Service
public class PostsqlServiceImpl extends ServiceImpl<PostsqlMapper, Postsql> implements IPostsqlService {

    public List<Postsql> querys() {
        return baseMapper.selectAll();
    }
}
